namespace ConsoleApp3._0916;

public class Phone
{
    private String brand;
    private String weight;
    private String camera;
    private int price;
    

    public Phone(string brand, string weight, string camera, int price)
    {
        this.brand = brand;
        this.weight = weight;
        this.camera = camera;
        this.price = price;
    }

    public override string ToString()
    {
        return "brand:"+brand+
               ",weight:"+weight
               +",camera"+camera
               +",price:" + price;
    }
}